﻿package Message.Game
{
    import Engine.RMI.*;
    import Framework.Serialize.*;
    import Message.Public.*;

    public class IGroupPrxHelper extends RMIProxyObject implements IGroupPrx
    {
        public static const NAME:String = "Message.Game.IGroup";

        public function IGroupPrxHelper()
        {
            name = "IGroup";
            return;
        }// end function

        public function createGroup_async(param1:AMI_IGroup_createGroup) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("createGroup");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function disbandGroup_async(param1:AMI_IGroup_disbandGroup) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("disbandGroup");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function getGroupInfos_async(param1:AMI_IGroup_getGroupInfos, param2:Array) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("getGroupInfos");
            var _loc_5:* = new SerializeStream();
            SeqEntityIdHelper.write(_loc_5, param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function getMemberPos_async(param1:AMI_IGroup_getMemberPos) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("getMemberPos");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function groupOper_async(param1:AMI_IGroup_groupOper, param2:Array) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("groupOper");
            var _loc_5:* = new SerializeStream();
            SeqGroupOperHelper.write(_loc_5, param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function kickOut_async(param1:AMI_IGroup_kickOut, param2:SEntityId) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("kickOut");
            var _loc_5:* = new SerializeStream();
            param2.__write(_loc_5);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function leftGroup_async(param1:AMI_IGroup_leftGroup) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("leftGroup");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function modifyCaptain_async(param1:AMI_IGroup_modifyCaptain, param2:SEntityId) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("modifyCaptain");
            var _loc_5:* = new SerializeStream();
            param2.__write(_loc_5);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function recruit_async(param1:AMI_IGroup_recruit) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("recruit");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function updateGroupSetting_async(param1:AMI_IGroup_updateGroupSetting, param2:SGroupSetting) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("updateGroupSetting");
            var _loc_5:* = new SerializeStream();
            param2.__write(_loc_5);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

    }
}
